-
Notifications
You must be signed in to change notification settings - Fork 881
Add support for Schneider electric FLS/AIRLINK/4 #4081
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: dev
Are you sure you want to change the base?
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #4081 +/- ##
==========================================
+ Coverage 91.20% 91.23% +0.03%
==========================================
Files 335 338 +3
Lines 10889 10907 +18
==========================================
+ Hits 9931 9951 +20
+ Misses 958 956 -2 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Search "custom quirks zha". You can set up a folder and just drop this modified v2 quirk file in that. Those custom quirks will be preferred over the built-in ones.
Those are all standard ZCL (Zigbee Cluster Library) clusters. They are already defined in zigpy and all entities should work as expected. Not quite sure what you mean with "implemented" here. SE seems to offer additional attributes on these default clusters, since other quirks also replace them. E.g. there are zha-device-handlers/zhaquirks/schneiderelectric/__init__.py Lines 18 to 132 in 81108c4
You can also add the replaces for them to your (custom) quirk, then try the "Manage Zigbee device" menu to read the custom attributes and see if they're available for your device as well.
|
Hi @TheJulianJES, thank you for taking the time to write your answer. I managed to use a custom quirks on my installation of HA. As you mentioned After the changes implemented in the second commit the buttons are visible and using the physical switch toggle the controls in HA ![]() |
#4130 should be merged first, then SESpecific can be renamed into SESwitchConfiguration in the PR |
Unfortunately this PR is not ready to be merge, I can see device in home assistant and it's state (on/off). When pressing physically on the device the state in Home assistant change but when triggering the button from assistant I encounter the following issue:
I'm still trying to find a solution; if anyone has any ideas about what might be causing the issue, I'm all ears. |
Proposed change
Add support for Schneider electric FLS/AIRLINK/4
Additional information
ZB Spec - Wireless Switch - 110422.pdf
This is my first time working with this library, and I have a few questions. If someone with more experience could help me, I would be very grateful:
I'm unsure how to test the changes. I have a Home Assistant instance running and one FLS/AIRLINK/4 switch, so I could in theory edit the code directly within my Home Assistant setup. But, if there’s a better approach, I’m open to suggestions.
The following cluster IDs aren't implemented:
Should they be implemented as well?
Checklist
pre-commit
checks pass / the code has been formatted using Black